package com.gtw.modules.api.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.TbCommodity;
import com.gtw.modules.entity.TbShoppingCart;

import java.util.Map;

public interface TbShoppingCartServices {


    int deleteByPrimaryKey(Integer id);

    int insert(TbShoppingCart record);

    int insertSelective(TbShoppingCart record);

    TbShoppingCart selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbShoppingCart record);

    int updateByPrimaryKey(TbShoppingCart record);

    TbShoppingCart findByCommodity(Integer commodityId,String uid,String selected);

    Page<TbShoppingCart> queryPageList(Page<TbShoppingCart> pageUtil, Map<String, Object> map);
}
